package com.mspbots.cw.request;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * com.mspbots.cw.request.TenantDTO
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/28
 */
@Data
public class TenantRequest implements Serializable {

    private Long id;
    private String name;
    private String url;
    private String shortName;
    private String description;
    private Integer statusId;
    private String status;
    private LocalDateTime createDate;
    private JsonNode extend;

    private String firstName;
    private String lastName;
    private String username;
    private String password;
    private String mailPostfix;
    private String microsoftId;

    private transient List<TenantConfigurationRequest> configuration;

    private transient int userCount;
    private transient LocalDateTime lastUseTime;
}
